<?php 
//$show_validator = true;
include TMPL_PATH.'public/header.phtml';
?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='<?php echo U('promotion/bonus_list');?>'><em>红包类型</em></a><span>|</span>
        <a href='javascript:;' class="on" ><em>发放红包</em></a></div>
</div>

<form name="myform" id="myform" action="__SELF__" method="post" enctype="multipart/form-data">
<div class="pad-10">
<div class="col-tab">
<div class="contentList pad-10">
<table width="100%"  class="table_form">
  <tr>
    <th width="120">按用户等级发放红包:</th>
    <td class="y-bg">
     	<select name="catid" id="catid">
			<option value='0'>选择会员等级..</option>
			 <?php
				if(isset($rankList) && $rankList):
					foreach ($rankList as $v):
			  ?>
			  <option value='<?php echo $v['id'];?>'><?php echo $v['name'];?></option>
			  <?php 
				 	endforeach;
				endif;
			  ?>
			<?php echo $select_categorys;?>
		</select>
	</td>
  </tr>
  </table>
</div>

<div class="bk15"></div>
<input name="dosubmit" type="submit" value="提交" class="button">
</div>
</div>
</form>
</body>
</html>